home *** CD-ROM | disk | FTP | other *** search
- on runTheRightApp
- global platform
- set currentPath to the pathName
- set MacAppName to "Director 5 Access"
- set WIN16AppName to "GMD16.EXE"
- set WIN32AppName to "GMD32.EXE"
- if the machineType < 256 then
- set theAppToRun to MacAppName
- else
- set WhichPlatform to platform
- if WhichPlatform contains "16" then
- set theAppToRun to WIN16AppName
- else
- set theAppToRun to WIN32AppName
- end if
- end if
- open(theAppToRun)
- quit()
- end
-